package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("品牌推荐信息")
@TableName("sms_home_brand")
public class SmsBrand {
    @ApiModelProperty("品牌推荐ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("品牌ID")
    @TableField(value = "brand_id")
    private Long brandId;
    @ApiModelProperty("品牌名称")
    @TableField(value = "brand_name")
    private String brandName;
    @ApiModelProperty("品牌推荐状态，0->不推荐，1->推荐")
    @TableField(value = "recommend_status")
    private int recommendStatus;
    @ApiModelProperty("排序")
    @TableField(value = "sort")
    private int sort;
}
